package cn.ujn.medicalbackend.service;

import cn.ujn.medicalbackend.request.CityAddRequest;
import cn.ujn.medicalbackend.request.CityDeleteRequest;
import cn.ujn.medicalbackend.request.CityUpdateRequest;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.ujn.medicalbackend.domain.City;
import jakarta.servlet.http.HttpServletRequest;

/**
* @author Drink
* @description 针对表【city】的数据库操作Service
* @createDate 2024-10-26 09:34:50
*/
public interface CityService extends IService<City> {

    Page<City> cityPageTransfer(Page<City> tempPage);

    long addCity(CityAddRequest cityAddRequest, HttpServletRequest request);

    boolean updateCity(CityUpdateRequest cityUpdateRequest, HttpServletRequest request);

    boolean deleteCity(CityDeleteRequest cityDeleteRequest, HttpServletRequest request);
}
